package hngc.com;

import java.util.Scanner;

//世纪年：能被 400 整除的是闰年
//普通年：能被 4 整除且不能被 100 整除的是闰年。
public class Box12 {
    public static void main(String[] args) {
        int y=0;
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入年份：");
        y=scanner.nextInt();
        if(y%4==0&&y%100!=0){
            System.out.println("leap year");
        }else if(y%100==0&&y%400==0){
            System.out.println("Century leap year");
        }else {
            System.out.println("It is not a leap year.");
        }
        scanner.close();
    }
}
